package com.kaili.tms.exception;

import com.kaili.common.exception.IResponseStatus;

public enum ResponseStatus implements IResponseStatus {

    EXPENSE_REPEAT(520,"tms.expense.repeat"),
    EXPENSE_HANDLED(521,"tms.expense.handled"),
    EXPENSE_ALREADY(522,"tms.expense.already"),
    EXPENSE_STATUS(523,"tms.expense.status"),
    IMPORT_EXCEPTION(524,"tms.expense.status")
    ;
    int code;
    String msg;


    ResponseStatus(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public int getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
